% function [c I] = test( str ,k)
    str = 'circleGT.jpg'; k = 4;
	filename = ['E:\Fun\SeniorThesis\images\', str];
	f = double(imread(filename));
	if length(size(f)) == 3
		F = shiftdim(f,2);
		[c I] = Kmeans3(F,k);
	elseif length(size(f)) == 2
		[c I] = Kmeans(f,k);
	end
	[N C] = hist(f,256);
% end	
